package com.zfy.cmsservice.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value="Classes对象", description="班级表管理teachers表返回教师姓名")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CascaderClassVo{

    private Integer label;  // 跟value值一致用于展示
    private Integer value;  // 对应实体类的grade字段
    private List<CascaderClassItemVo> children;

}
